package com.zys.el.time.controller;

import org.apache.commons.lang.StringUtils;

public class CheckUtil {
    public static boolean isNotPass(String... strs) {
        return !isPass(strs);
    }

    public static boolean isPass(String... strs) {
        for (String s : strs) {
            // 检查是否为null或空字符串
            if (StringUtils.isBlank(s)) return false;
            // 检查是否为undefined字符串
            if (s.equals("undefined")) return false;
        }
        return true;
    }

}
